package com.yonyou.sto.domain;

/**
 * @author ：Targaryen Aegon
 * @version ：1.0-SNAPSHOT
 * @date ：Created in 2020/9/17 11:03
 * @description ：单据状态枚举
 * @modifiedBy ：
 */
public enum InvoiceStatusEnums {

    NOT(1, "未开票"),
    SUCCESS(2, "开票成功"),
    FAILED(3, "开票失败"),
    HALF(4, "部分开票"),
    IN(5, "开票中"),
    CANCEL(6, "已作废"),
    RETURN(7, "已退回"),
    RED(8, "已红冲"),
    APPLY(9, "申请开票")
    ;



    private int code;
    private String message;

    InvoiceStatusEnums(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode(){
        return code;
    }

    public String getMessage(){
        return message;
    }

}
